package com.ds.home.database;

import org.hibernate.StatelessSession;


/**
 * Data access object (DAO) for domain model
 * @author MyEclipse Persistence Tools
 */
public class BaseHibernateDAO  {
	
	
	public StatelessSession getSession() {
		return HibernateSessionFactory.getSession();
	}
	public void close(){
		HibernateSessionFactory.closeSession();
	}
	
}